from rest_framework.serializers import ModelSerializer
from user.models import *


class CateSer(ModelSerializer):
    class Meta:
        model = Category
        fields = '__all__'

class GoodSer(ModelSerializer):
    class Meta:
        model = Goods
        fields = '__all__'